
<template>
    <a-config-provider :locale="enUS">
      <router-view/>
      <theme/>
<!--      <out-line/>-->
    </a-config-provider>
  <!--    登录弹窗-->
  <login/>
<!--  AI-->
  <Ai/>
</template>


<script setup lang="ts">
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import enUS from 'ant-design-vue/es/locale/en_US';
import Theme from "@/components/Theme/index.vue";
import {getLang} from '@/common/i18n/index.ts'
import {computed} from "vue";
import outLine from "@/components/Outline/index"
import Login from "@/components/Login/index.vue";
import Ai from "@/components/AI/index.vue";

const locale = computed(() => {

  return getLang() == 'enUS' ? enUS : zhCN;
})
</script>

<style lang="scss" scoped>
.ant-list-item-meta{
  .ant-list-item-meta-avatar {
    order: 2; /* 将第一个子元素放在第二个子元素后面 */
  }

  .ant-list-item-meta-content {
    order: 1; /* 将第二个子元素放在第一个子元素前面 */
  }
}
</style>
